package com.fjnldx.mes.domain.domainReq;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

public class EmploymentHistoryDataReq {

    private String bc;
    private String gh;
    private String name;
    private String currentGongxu;
    private String currentWorkType;
    private List<String> devSn;
    private String share;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate endDate;

    private String currentDh;

    public String getBc() {
        return bc;
    }

    public void setBc(String bc) {
        this.bc = bc;
    }

    public String getGh() {
        return gh;
    }

    public void setGh(String gh) {
        this.gh = gh;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCurrentGongxu() {
        return currentGongxu;
    }

    public void setCurrentGongxu(String currentGongxu) {
        this.currentGongxu = currentGongxu;
    }

    public String getCurrentWorkType() {
        return currentWorkType;
    }

    public void setCurrentWorkType(String currentWorkType) {
        this.currentWorkType = currentWorkType;
    }

    public List<String> getDevSn() {
        return devSn;
    }

    public void setDevSn(List<String> devSn) {
        this.devSn = devSn;
    }

    public String getShare() {
        return share;
    }

    public void setShare(String share) {
        this.share = share;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }

    public String getCurrentDh() {
        return currentDh;
    }

    public void setCurrentDh(String currentDh) {
        this.currentDh = currentDh;
    }
}
